<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<script type="text/javascript" src="<c:url value="/resources/lib/ckeditor/ckeditor.js" />"></script>
<input id="id" name="id" value="${article.id}" hidden/>
<div class="form-group">
    <label class="col-sm-3 control-label">文章名称：</label>
    <div class="col-sm-8">
        <input id="articleName" name="articleName" type="text" class="form-control" required value="${article.articleName}">
    </div>
</div>
<div class="form-group">
    <label class="col-sm-3 control-label">文章内容：</label>
    <div class="col-sm-8">
        <textarea name="simple" id="simple" style="width: 90%;height:100px;">${article.simple}</textarea>
    </div>
</div>

<div class="form-group">
    <label class="col-sm-3 control-label">文章内容：</label>
    <div class="col-sm-8">

        <textarea name="contentCK" id="contentCK" cols="9" rows="9">${article.content}</textarea>
        <script type="text/javascript">
            CKEDITOR.replace("contentCK", {
                height: 250,
                width: 800
            });
        </script>
    </div>
    <div style="display: none;">
        <input name="content" id="content" value="${article.content}">
    </div>
</div>


